class PEntry < ActiveRecord::Base

	has_one :done
    # set_primary_key =:ptracker ,:date
	#validates :entry_type, presence: true

	validates_presence_of:story_id	,	:message=>"Ptracker can not be nil"

	validates_presence_of:status	,	:message=>"status can not be nil"

	#validates_presence_of:date	,	:message=>"Time can not be nil"


end